package tech.aistar.service;

import com.github.pagehelper.PageInfo;
import tech.aistar.pojo.Phone;

import java.util.List;

/**
 * @author Ray
 * @version 1.0
 * @description:本类用来演示:
 * @date 2019/9/5  19:10
 */
public interface IPhoneService {
    List<Phone> findAll(String name, Integer typeId);
    void delById(Integer id);
    void insert(Phone p);
    Phone findById(Integer id);
    void updateById(Phone phone);

    PageInfo<Phone> findAll(String name, Integer typeId, Integer pageNum, Integer pageSize);
}
